import csv

first = []
second = []

with open("RegulationTwoColumnTable_Documented_2013927.tsv") as tsv:
    for line in csv.reader(tsv, delimiter=";"):
        first.append(line[0])
        second.append(line[1])

first.sort()
second.sort()
"""
TF = []
TAR = []
for i in range(len(first)):
    if first[i] != first[i-1]:
        TF.append(first[i])
    if second[i] != second[i-1]:
        TAR.append(second[i])
"""
z=[]
for i in set(second):
    if i not in set(first):
        z.append(i)
print len(z)